<template>
    <view class="content">
        <view class="box" v-for="(item, index) in 2" :key="index">
            <view class="item">
                <image src="/static/del/21.png" class="img"></image>
                <view class="item-r">
                    <view class="cate">伙伴计时</view>
                    <view class="time">2023-10-27(星期五) 19:30-20:00</view>
                </view>
            </view>
            <view class="down">
                <view class="u-flex">
                    <image src="../../../static/del/37.png" class="p-img"></image>
                    <view class="name">李同学</view>
                </view>
                <view class="rate-top">
                    <u-rate :count="5" v-model="value" active-color="#fcc937" inactive-color="#f1f1f1" :disabled="true"></u-rate>
                    <view class="u-p-l-10">3星</view>
                    <view class="u-p-l-10">评分</view>
                </view>
                <view class="rate-down">
                    评价：<text>现代汉语中没有善长的说法，但常常有同学使用，应该使用“善于”。下面就“擅长”、“善于”用法作一</text>
                </view>
                <view class="time">2023-10-27 19:30-20:00</view>
            </view>
        </view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                value: 3,
                Cshow: false,
            };
        },
        onLoad() {
            
        },
        methods: {
            
        }
    };
</script>

<style lang="scss">
    
    page{
        background-color: #f5f5f5;
    }
    .content{
        padding: 20rpx;
    }
    .box{
        padding: 30rpx;
        background-color: #fff;
        border-radius: 15rpx;
        margin-bottom: 20rpx;
    }
    .item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 30rpx;
    }
    .img{
        width: 112rpx;
        height: 112rpx;
        border-radius: 10rpx;
        margin-right: 20rpx;
    }
    .item-r{
        flex: 1;
    }
    .cate{
        font-size: 34rpx;
        font-weight: bold;
    }
    .time{
        font-size: 26rpx;
        color: #8e8e8e;
        padding-top: 10rpx;
    }
    .down{
        padding-top: 30rpx;
        border-top: 2rpx solid #e6e6e6;
    }
    .p-img{
        width: 50rpx;
        height: 50rpx;
        border-radius: 10rpx;
        margin-right: 13rpx;
    }
    .name{
        flex: 1;
        font-size: 32rpx;
        font-weight: bold;
    }
    .rate-top{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-top: 15rpx;
    }
    .rate-down{
        padding-top: 20rpx;
        font-size: 26rpx;
    }
    .rate-down>text{
        color: #949494;
        line-height: 1.5;
        word-break: break-all;
        white-space: pre-line;
    }

</style>
